.container {
  height: 100vh;
  background: #f2f4f7;
  display: flex;
  flex-direction: column;
}

.navRight {
  display: flex;
  align-items: center;
  gap: 12px;
}

.indicator {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.editButton {
  font-size: 12px;
  padding: 4px 12px;
  height: 28px;
  border-radius: 14px;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: #999;
}

.content {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  transition: transform 0.3s ease-out;
}

.dishCard {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.imageContainer {
  position: relative;
  background: #f5f5f5;
}

.imagePlaceholder {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  background: #f5f5f5;
}

.basicInfo {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}

.dishName {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.aiPredictedName {
  margin: 0 0 16px 0;
  padding: 8px 12px;
  background: linear-gradient(135deg, #e6f7ff, #f0f9ff);
  border: 1px solid #91d5ff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aiLabel {
  font-size: 12px;
  color: #1890ff;
  font-weight: 500;
  flex-shrink: 0;
}

.aiName {
  font-size: 14px;
  color: #1890ff;
  font-weight: 600;
  flex: 1;
}

.aiConfidence {
  font-size: 12px;
  color: #666;
  margin-left: 8px;
}

.infoGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.infoItem {
  display: flex;
  align-items: center;
  font-size: 14px;
}

/* AI区域 */
.aiSection {
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.aiContent {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aiDishName {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.aiEvaluate {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.evaluateInfo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 人工区域 */
.manualSection {
  padding: 20px;
  background: #fff;
}

.manualForm {
  margin-top: 16px;
}

.editForm {
  margin-top: 16px;
}

.formItem {
  margin-bottom: 16px;
}

.formItem .adm-form-item-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  min-width: 80px;
}

.pickerValue {
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: white;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  min-height: 20px;
  display: flex;
  align-items: center;
  flex: 1;
}

.pickerValue:active {
  border-color: #1890ff;
}

.tagInputContainer {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tagInputContainer .adm-input {
  flex: 1;
}

.historyTagsBtn {
  flex-shrink: 0;
  font-size: 12px;
  padding: 6px 12px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #d9d9d9;
  background: #fafafa;
  color: #666;
}

.saveButtonContainer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.saveButton {
  width: 100%;
  height: 44px;
  border-radius: 8px;
}

.noPermissionHint {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 16px;
  background: #f5f5f5;
  border-radius: 6px;
  margin-top: 16px;
}

.historyTagsModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.historyTagsContent {
  background: white;
  border-radius: 12px;
  width: 80%;
  max-width: 400px;
  max-height: 60vh;
  overflow: hidden;
}

.historyTagsHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 600;
}

.historyTagsList {
  padding: 16px;
  max-height: 300px;
  overflow-y: auto;
}

.historyTag {
  padding: 8px 12px;
  margin: 4px 0;
  background: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.historyTag:hover {
  background: #e6f7ff;
  color: #1890ff;
}

.noHistoryTags {
  text-align: center;
  color: #999;
  padding: 20px;
}

.tagsContainer {
  margin-bottom: 16px;
}

.tagsLabel {
  font-size: 14px;
  color: #666;
  margin-right: 8px;
}

.tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  background: #e8f4fd;
  color: #1890ff;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid #b3d8ff;
}

.noTags {
  color: #999;
  font-size: 14px;
}

.infoRow {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.label {
  color: #666;
  width: 50px;
  flex-shrink: 0;
}

.value {
  color: #333;
  flex: 1;
}

.evaluateSection {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
}

.sectionTitle {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.evaluateContainer {
  display: flex;
  gap: 20px;
}

.evaluateItem {
  flex: 1;
  text-align: center;
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
}

.evaluateHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.evaluateLabel {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.swipeHint {
  padding: 16px;
  text-align: center;
  color: #999;
  font-size: 13px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

/* 评价状态样式 */
.bingo {
  color: #52c41a;
  font-weight: 500;
  font-size: 12px;
}

.good {
  color: #1890ff;
  font-weight: 500;
  font-size: 12px;
}

.fail {
  color: #ff4d4f;
  font-weight: 500;
  font-size: 12px;
}

.padd {
  color: #faad14;
  font-weight: 500;
  font-size: 12px;
}

/* 表单行布局 */
.formRow {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}

.formLabel {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  min-width: 80px;
  flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .content {
    padding: 12px;
  }
  
  .dishInfo {
    padding: 16px;
  }
  
  .evaluateSection {
    padding: 16px;
  }
  
  .evaluateContainer {
    gap: 12px;
  }
  
  .evaluateItem {
    padding: 12px;
  }
  
  .formRow {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .formLabel {
    min-width: auto;
  }
}

/* 滑动过程中的视觉反馈 */
.content[data-dragging="true"] {
  opacity: 0.9;
}

/* 无缝滑动效果 */
.content.transitioning {
  pointer-events: none;
}